package com.xiaozhengkeji.blogsuper.base.mapper;

import com.xiaozhengkeji.blogsuper.base.entitys.ArticleSTEntity;
import java.time.LocalDateTime;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ArticleSTEntityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ArticleSTEntity record);

    int insertSelective(ArticleSTEntity record);

    ArticleSTEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ArticleSTEntity record);

    int updateByPrimaryKey(ArticleSTEntity record);

    List<ArticleSTEntity> queryByAll(ArticleSTEntity articleSTEntity);

    List<ArticleSTEntity> queryByArticleClassID(@Param("articleClassID") Integer articleClassID);

    List<ArticleSTEntity> queryByArticleClassIDAndArticleStatus(@Param("articleClassID") Integer articleClassID, @Param("articleStatus") Integer articleStatus);

    List<ArticleSTEntity> queryByArticleTagsName(@Param("articleTagsName") String articleTagsName);
}